import request from '@/utils/request'

// 查询业绩考核-个人填报-审核记录列表
export function listKpiFillingAuditRecord(query) {
  return request({
    url: '/teacher/kpiFillingAuditRecord/list',
    method: 'get',
    params: query
  })
}

// 查询业绩考核-个人填报-审核记录详细
export function getKpiFillingAuditRecord(auditRecordId) {
  return request({
    url: '/teacher/kpiFillingAuditRecord/' + auditRecordId,
    method: 'get'
  })
}

// 新增业绩考核-个人填报-审核记录
export function addKpiFillingAuditRecord(data) {
  return request({
    url: '/teacher/kpiFillingAuditRecord/add',
    method: 'post',
    data: data
  })
}

// 批量新增业绩考核-个人填报-审核记录
export function addKpiFillingAuditRecordBatch(data) {
  return request({
    url: '/teacher/kpiFillingAuditRecord/batchInsert',
    method: 'post',
    data: data
  })
}

// 修改业绩考核-个人填报-审核记录
export function updateKpiFillingAuditRecord(data) {
  return request({
    url: '/teacher/kpiFillingAuditRecord/update',
    method: 'post',
    data: data
  })
}

// 删除业绩考核-个人填报-审核记录
export function delKpiFillingAuditRecord(auditRecordId) {
  return request({
    url: '/teacher/kpiFillingAuditRecord/' + auditRecordId,
    method: 'post'
  })
}
